{extend name="layout"}
{block name="detail"}

<section class="forms">
    <div class="container-fluid">
        <div class="row">
            <!-- Form Elements -->
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header d-flex align-items-center">
                        <h3 class="h4 mr-5">店铺名称</h3>
                    </div>
                    <div class="card-body">
                        <form action="{:url('admin/product/saveShop')}" method="post" enctype="multipart/form-data">
                            <div class="table-responsive">
                                <table class="table">
                                    <tr >
                                        <td  class="border">系统店铺名称</td>
                                        <td colspan="2" class="border"><input type="text" style="width: 300px" name="name"  value="{$shop.name}" required></td>
                                    </tr>
                                    <tr >
                                        <td  class="border">系统店铺联系方式</td>
                                        <td colspan="2" class="border"><input type="text" style="width: 300px" name="phone"  value="{$shop.phone}" required></td>
                                    </tr>
                                    <tr >
                                        <td class="border">系统店铺头像 </td>
                                        <td class="border"><img src="{$shop.img}" alt="" width="50" class="bdimg"> </td>
                                        <td  class="border"><input type="file" style="width: 300px" name="img" accept="image/*" multiple ></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" class="border text-center"><input type="submit" class="btn btn-primary" value="确定"></td>
                                    </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


{/block}